Skip to content

Conversation

@nathanlepori
Copy link

Allows passing the moment constructor function to extendMoment imported like follows: import moment from 'moment'; as an alternative to import * as moment from 'moment'; (which doesn't allow to construct a moment instance).
Changing allowSyntheticDefaultImports to true is actually reccomended by the Moment docs found here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant